package com.findmeastore.bo;

import java.sql.Timestamp;

/**
 * BusinessAddress entity. @author MyEclipse Persistence Tools
 */

public class BusinessAddress implements java.io.Serializable {

	// Fields

	private Integer id;
	private User userByCreatedBy;
	private MasterCity masterCity;
	private BusinessEntity businessEntity;
	private User userByLastModifiedBy;
	private MasterState masterState;
	private Timestamp creationTstamp;
	private Timestamp lastModifiedTstamp;
	private String street1;
	private String street2;
	private String street3;
	private String landmark;
	private Double latitude;
	private Double longitude;
	private Integer pinCode;

	// Constructors

	/** default constructor */
	public BusinessAddress() {
	}

	/** minimal constructor */
	public BusinessAddress(User userByCreatedBy, MasterCity masterCity,
			BusinessEntity businessEntity, User userByLastModifiedBy,
			MasterState masterState, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterCity = masterCity;
		this.businessEntity = businessEntity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.masterState = masterState;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	/** full constructor */
	public BusinessAddress(User userByCreatedBy, MasterCity masterCity,
			BusinessEntity businessEntity, User userByLastModifiedBy,
			MasterState masterState, Timestamp creationTstamp,
			Timestamp lastModifiedTstamp, String street1, String street2,
			String street3, String landmark, Double latitude, Double longitude,
			Integer pinCode) {
		this.userByCreatedBy = userByCreatedBy;
		this.masterCity = masterCity;
		this.businessEntity = businessEntity;
		this.userByLastModifiedBy = userByLastModifiedBy;
		this.masterState = masterState;
		this.creationTstamp = creationTstamp;
		this.lastModifiedTstamp = lastModifiedTstamp;
		this.street1 = street1;
		this.street2 = street2;
		this.street3 = street3;
		this.landmark = landmark;
		this.latitude = latitude;
		this.longitude = longitude;
		this.pinCode = pinCode;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUserByCreatedBy() {
		return this.userByCreatedBy;
	}

	public void setUserByCreatedBy(User userByCreatedBy) {
		this.userByCreatedBy = userByCreatedBy;
	}

	public MasterCity getMasterCity() {
		return this.masterCity;
	}

	public void setMasterCity(MasterCity masterCity) {
		this.masterCity = masterCity;
	}

	public BusinessEntity getBusinessEntity() {
		return this.businessEntity;
	}

	public void setBusinessEntity(BusinessEntity businessEntity) {
		this.businessEntity = businessEntity;
	}

	public User getUserByLastModifiedBy() {
		return this.userByLastModifiedBy;
	}

	public void setUserByLastModifiedBy(User userByLastModifiedBy) {
		this.userByLastModifiedBy = userByLastModifiedBy;
	}

	public MasterState getMasterState() {
		return this.masterState;
	}

	public void setMasterState(MasterState masterState) {
		this.masterState = masterState;
	}

	public Timestamp getCreationTstamp() {
		return this.creationTstamp;
	}

	public void setCreationTstamp(Timestamp creationTstamp) {
		this.creationTstamp = creationTstamp;
	}

	public Timestamp getLastModifiedTstamp() {
		return this.lastModifiedTstamp;
	}

	public void setLastModifiedTstamp(Timestamp lastModifiedTstamp) {
		this.lastModifiedTstamp = lastModifiedTstamp;
	}

	public String getStreet1() {
		return this.street1;
	}

	public void setStreet1(String street1) {
		this.street1 = street1;
	}

	public String getStreet2() {
		return this.street2;
	}

	public void setStreet2(String street2) {
		this.street2 = street2;
	}

	public String getStreet3() {
		return this.street3;
	}

	public void setStreet3(String street3) {
		this.street3 = street3;
	}

	public String getLandmark() {
		return this.landmark;
	}

	public void setLandmark(String landmark) {
		this.landmark = landmark;
	}

	public Double getLatitude() {
		return this.latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return this.longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Integer getPinCode() {
		return this.pinCode;
	}

	public void setPinCode(Integer pinCode) {
		this.pinCode = pinCode;
	}

}